Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports System.Collections.ObjectModel
Imports Microsoft.Xna.Framework

Public Class StatePlayerElement
	Inherits StateElement
	Private _state As Enumeration.State


	Public Property state() As Enumeration.State
		Get
			Return _state
		End Get
		Set
			_state = value
		End Set
	End Property

	Public Sub New()
		_state = Enumeration.State.none
		Priority = Enumeration.PriorityState.Normal
		Reverse = Enumeration.SequenceReverse.Normal
		OffSet = Vector2.Zero
	End Sub

	Public Sub New(state As Enumeration.State, priority__1 As Enumeration.PriorityState)
		_state = state
		Priority = priority__1
		Reverse = Enumeration.SequenceReverse.Normal
		OffSet = Vector2.Zero
	End Sub

	Public Sub New(state As Enumeration.State, priority__1 As Enumeration.PriorityState, offSet__2 As Vector2)
		_state = state
		Priority = priority__1
		Reverse = Enumeration.SequenceReverse.Normal
		OffSet = offSet__2
	End Sub

	Public Sub New(state As Enumeration.State, priority__1 As Enumeration.PriorityState, stoppable__2 As System.Nullable(Of Boolean))
		_state = state
		Priority = priority__1
		Stoppable = stoppable__2
		Reverse = Enumeration.SequenceReverse.Normal
		OffSet = Vector2.Zero
	End Sub

	Public Sub New(state As Enumeration.State, priority__1 As Enumeration.PriorityState, reverse__2 As Enumeration.SequenceReverse)
		_state = state
		Priority = priority__1
		Reverse = reverse__2
		OffSet = Vector2.Zero
	End Sub


	Public Sub New(state As Enumeration.State, priority__1 As Enumeration.PriorityState, stoppable__2 As System.Nullable(Of Boolean), reverse__3 As Enumeration.SequenceReverse)
		_state = state
		Priority = priority__1
		Stoppable = stoppable__2
		Reverse = reverse__3
		OffSet = Vector2.Zero
	End Sub

	Public Sub New(state As Enumeration.State, priority__1 As Enumeration.PriorityState, stoppable__2 As System.Nullable(Of Boolean), reverse__3 As Enumeration.SequenceReverse, offSet__4 As Vector2)
		_state = state
		Priority = priority__1
		Stoppable = stoppable__2
		Reverse = reverse__3
		OffSet = offSet__4
	End Sub

	Public Sub New(state As Enumeration.State)
		_state = state
		Priority = Enumeration.PriorityState.Normal
		Reverse = Enumeration.SequenceReverse.Normal
		OffSet = Vector2.Zero
		IfTrue = False
	End Sub

	Public Sub New(state As Enumeration.State, iftrue__1 As Boolean)
		_state = state
		Priority = Enumeration.PriorityState.Normal
		Reverse = Enumeration.SequenceReverse.Normal
		OffSet = Vector2.Zero
		IfTrue = iftrue__1
	End Sub


	Public Shared Shadows Function Parse(name As String) As Enumeration.State
		Return CType([Enum].Parse(GetType(Enumeration.State), name.ToLower()), Enumeration.State)
	End Function



End Class

